<?php

?>
<h1>System Debug Information</h1>
<h2>DB</h2>
<table cellspacing="0" cellpadding="0" class="tblborder">
	<tr class="tblhead">
		<td> Field </td>
		<td> Value </td>
	</tr>
	<?php
	foreach ($this->debug['db'] as $field=>$value):
	?>
	<tr class="tblbody">
		<td> <?php echo $field;?> </td>
		<td> <?php
		if(is_array($value))
		{
			$value = implode("<br />", $value);
		}
		echo $value;
		?> </td>
	</tr>
	<?php
	endforeach;
	?>
</table>
